using System;
using System.ComponentModel.DataAnnotations;


namespace ProductInfo.Core.Models
{
	public class VersionAttribute : RegularExpressionAttribute
	{
		public VersionAttribute() 
			: base(@"^([0-9]{1}\.[0-9]{1}\.[0-9]{3}\.[a-zA-Z\-0-9]{1,3})")
		{
		}
	}
}